package com.itheima.controller;

public class Code {

    //    数据获取成功的码值
    public static final Integer SAVE_OK = 20011;
    public static final Integer DELETE_OK = 20021;
    public static final Integer UPDATE_OK = 20031;
    public static final Integer GET_OK = 20041;

    //     数据获取失败的码值
    public static final Integer SAVE_ERR = 20010;
    public static final Integer DELETE_ERR = 20020;
    public static final Integer UPDATE_ERR = 20030;
    public static final Integer GET_ERR = 20040;

    //    异常处理的码值
    public static final Integer SYSTEM_ERR = 50001;
    public static final Integer SYSTEM_TIMEOUT_ERR = 50002;


//    系统未知异常

    public static final Integer UNKNOWN_SYSTEM_ERR = 59999;

    public static final Integer BUSINESS_ERR = 60002;

}
